const merge = require("webpack-merge");
const common = require("./webpack.common.js");
const UglifyJsPlugin = require("uglifyjs-webpack-plugin");
module.exports = merge(common, {
  devtool: "inline-source-map",
  optimization: {
    minimizer: [new UglifyJsPlugin()],
  },
  devServer: {
    port: 8745,
    https: false,
    hotOnly: false,
    overlay: {
      warnings: false,
      errors: false
    },
    open: true,
  contentBase:'./dist'
  }

});
